<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>网上便利店后台管理系统</title>
    <link href="${pageContext.request.contextPath }/css/bootstrap.min.css" rel="stylesheet">
    <style type="text/css">
    	@media (min-width: 768px) {
    		#slider_sub{
    			width: 250px;
    			height: 600px;
    			margin-top: 51px;
    			position: absolute;
    			z-index: 1;
    		}
    		.mysearch{ margin: 10px 0;}
    		.page_main{ margin-left: 250px;}
    	}
    </style>
  </head>
  <body>
  	<!--  导航  -->
    <nav class="navbar navbar-default navbar-static-top">
    	<div class="navbar-header">
    		<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#slider_sub">
		        <span class="sr-only">Toggle navigation</span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
		        <span class="icon-bar"></span>
	        </button>
    		<a href="#" class="navbar-brand">网上便利店后台管理</a>
    	</div>
    	<ul class="nav navbar-nav navbar-right" style="margin-right: 25px;">
    		<li><a href="#"><span class="badge" style="background: #C12E2A;">23</span></a></li>
    		<li><a href="${pageContext.request.contextPath }/adminUser_logout.action"><span class="glyphicon glyphicon-off"></span>注销</a></li>
    	</ul>
    	
    	<!--  侧边栏功能  -->
	    <div id="slider_sub" class="navbar-default navbar-collapse">
	    	<ul class="nav">
	    		<li>
	    			<!--  搜索  -->
	    			<div class="input-group mysearch">
	    				<input type="text" class="form-control" />
	    				<span class="input-group-btn">
	    					<button type="button" class="btn btn-default"><span class="glyphicon glyphicon-search"></span></button>
	    				</span>
	    			</div>
	    		</li>
	    		<li>
	    			<a href="#sub1" data-toggle="collapse">用户管理<span class="glyphicon glyphicon-chevron-right pull-right"></span></a>
	    			<ul id="sub1" class="nav collapse">
	    				<li><a href="${pageContext.request.contextPath }/userAdmin_findAllWithPage.action?page=1" target="frame_main"><span class="glyphicon glyphicon-user"></span>&nbsp;用户管理</a></li>
	    			</ul>
	    		</li>
	    		<li>
	    			<a href="#sub2" data-toggle="collapse">商品分类管理<span class="glyphicon glyphicon-chevron-right pull-right"></span></a>
	    			<ul id="sub2" class="nav collapse">
	    				<li><a href="${pageContext.request.contextPath }/adminCategory_find.action" target="frame_main"><span class="glyphicon glyphicon-tags"></span>&nbsp;商品分类管理</a></li>
	    			</ul>
	    		</li>
	    		<li>
	    			<a href="#sub3" data-toggle="collapse">商品管理<span class="glyphicon glyphicon-chevron-right pull-right"></span></a>
	    			<ul id="sub3" class="nav collapse">
	    				<li><a href="${pageContext.request.contextPath }/adminProduct_findAllWithPage?page=1" target="frame_main"><span class="glyphicon glyphicon-gift"></span>&nbsp;商品管理</a></li>
	    			</ul>
	    		</li>
	    		<li>
	    			<a href="#sub4" data-toggle="collapse">订单管理<span class="glyphicon glyphicon-chevron-right pull-right"></span></a>
	    			<ul id="sub4" class="nav collapse">
	    				<li><a href="${pageContext.request.contextPath }/adminOrder_findAllWithPage?page=1" target="frame_main"><span class="glyphicon glyphicon-bookmark"></span>&nbsp;订单管理</a></li>
	    			</ul>
	    		</li>
	    		<li>
	    			<a href="#sub5" data-toggle="collapse">商家管理<span class="glyphicon glyphicon-chevron-right pull-right"></span></a>
	    			<ul id="sub5" class="nav collapse">
	    				<li><a href="${pageContext.request.contextPath }/adminSeller_find.action" target="frame_main"><span class="glyphicon glyphicon-home"></span>&nbsp;商家管理</a></li>
	    				<li><a href="${pageContext.request.contextPath }/adminRegion_find.action" target="frame_main"><span class="glyphicon glyphicon-flag"></span>&nbsp;小区管理</a></li>
	    			</ul>
	    		</li>
	    	</ul>
	    </div>
    </nav>
	<div class="page_main">
		<!-- 面包导航
		<ol class="breadcrumb">
		  <li><a href="#">首页</a></li>
		  <li><a href="#">后台管理</a></li>
		  <li class="active">我的管理</li>
		</ol> -->
		<iframe name="frame_main" src="${pageContext.request.contextPath }/admin/welcome.jsp" width="100%" height="524" scrolling="no" frameborder="0"></iframe>
	</div><!--page_main-->
	<div class="clearfix"></div>
	<div class="footer" style="text-align: center; position: absolute; top:651px;width: 100%;">
		<p>网上便利店管理平台</p>
	</div>
	<script src="${pageContext.request.contextPath }/js/jquery-1.11.1.js"></script>
    <script src="${pageContext.request.contextPath }/js/bootstrap.min.js"></script>
  </body>
</html>

